package com.sunkai.math;

public interface GetObject {
	/**
	 * 
	 * @date 2018年2月6日 下午7:30:28
	 * @param str  
	 obj.age=10
	 obj.name=nihao
	 obj.box.title=zhidaole
	 obj.box.body=hhhhhh
	 * 
	 * @param clazz xobj.class
	 
	 class xobj{
	 	private String name;
	 	private int age;
	 	private Box box;
	 }
	 class Box{
	 	private String title;
	 	private String body;
	 }
	 
	 * @return
	 * @throws Exception 
	 */
	public <T>T getObject(String str,Class<T> clazz) throws Exception;
	
}
